home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / scopedisk24 / LinkB / install < prev    next >
AmigaDOS Script File  |  1988-09-08  |  2KB  |  85 lines

  1. .key drive/a
  2. ; Install command-file for CommLink BBS beta 0.87
  3. ;       Copyright (C) 1987 by Scott Martin
  4. ;            -=[ By Scott Martin ]=-
  5. ;                    8702.22
  6. ;
  7. ; Format:    EXECUTE INSTALL[<dir>]
  8. ; Template:  EXECUTE INSTALL "Drive/A"
  9. ;
  10. echo "Installing CommLink BBS default setup on drive: <drive>"
  11. echo "Please wait.."
  12. echo " "
  13. if not exists "<drive>BBS"
  14.   echo "Creating dir <drive>BBS"
  15.   makedir "<drive>BBS"
  16. endif
  17.   cd "<drive>BBS"
  18. if not exists "User"
  19.   echo "Creating dir User"
  20.   makedir "User"
  21. endif
  22. if not exists "Boards"
  23.   echo "Creating dir Boards"
  24.   makedir "Boards"
  25. endif
  26. if not exists "Boards/Software"
  27.   echo "  Creating dir Boards/Software"
  28.   makedir "Boards/Software"
  29. endif
  30. if not exists "Boards/Hardware"
  31.   echo "  Creating dir Boards/Hardware"
  32.   makedir "Boards/Hardware"
  33. endif
  34. if not exists "Boards/Amiga"
  35.   echo "  Creating dir Boards/Amiga"
  36.   makedir "Boards/Amiga"
  37. endif
  38. if not exists "Boards/EMail"
  39.   echo "  Creating dir Boards/EMail"
  40.   makedir "Boards/EMail"
  41. endif
  42. if not exists "Libs"
  43.   echo "Creating dir Libs"
  44.   makedir "Libs"
  45. endif
  46. if not exists "Libs/Text"
  47.   echo "  Creating dir Libs/Text"
  48.   makedir "Libs/Text"
  49. endif
  50. if not exists "Libs/Source"
  51.   echo "  Creating dir Libs/Source"
  52.   makedir "Libs/Source"
  53. endif
  54. if not exists "Menus"
  55.   echo "Creating dir Menus"
  56.   makedir "Menus"
  57. endif
  58. if not exists "Text"
  59.   echo "Creating dir Text"
  60.   makedir "Text"
  61. endif
  62. ; Move all of the BBS menus to Text drawer(dir)
  63. echo "Moving the BBS menu text files.."
  64. rename bulletin.txt as Text/bulletin.txt
  65. rename editor.txt   as Text/editor.txt
  66. rename file.txt     as Text/file.txt
  67. rename info.txt     as Text/info.txt
  68. rename logoff.txt   as Text/logoff.txt
  69. rename main.txt     as Text/main.txt
  70. rename msg.txt      as Text/msg.txt
  71. rename news.txt     as Text/news.txt
  72. rename newuser.txt  as Text/newuser.txt
  73. rename quit.txt     as Text/quit.txt
  74. rename read.txt     as Text/read.txt
  75. rename welcome.txt  as Text/welcome.txt
  76. rename bulletin1    as Text/bulletin1
  77. rename bulletin2    as Text/bulletin2
  78. ;Move .setup files to repective drawers(dirs)
  79. echo "Moving .setup files.."
  80. rename Libs.setup   as Libs/Libs.setup
  81. rename Board.setup  as Boards/Board.setup
  82. rename Menu.setup   as Menus/Menu.setup
  83. rename Linkbbs.set  as Linkbbs.setup
  84. echo "Installation all done."
  85.